class Sungjuk_5_9 {
	String hakbun;
	String name;
	int jumsu;
	int c_cnt;
	static int class_cnt;
	public Sungjuk_5_9(){
		c_cnt = class_cnt++;
		int tmp = 20052000+c_cnt;
		String temp;
		temp = tmp+"";
		hakbun=temp;
		name="Bla-Bla";
		jumsu = 50;
		
	}
	public Sungjuk_5_9(String cons_hakbun){
		c_cnt = class_cnt++;
		hakbun = cons_hakbun;
		name="bla-bla";
		jumsu = 70;
		
	}
	public Sungjuk_5_9(String cons_hakbun, String cons_name){
		c_cnt = class_cnt++;
		hakbun = cons_hakbun;
		name = cons_name;
		jumsu = 100;
	}
	public Sungjuk_5_9(String hakbun, String name, int jumsu){
		this.hakbun = hakbun;
		this.name= name;
		this.jumsu = jumsu;
	}
	static public void title(){
		System.out.println("**** 자바의 생성자 오버로딩 사용 ****");
		System.out.println("****    정보통신전자공학부         ****");
		System.out.println("****     20052426 장수은         ****");
	}
}
class ex_5_9{
	public static void main(String args[]){
		
		Sungjuk_5_9 sooeun_jang = new Sungjuk_5_9();
		Sungjuk_5_9 sooeun_jang1 = new Sungjuk_5_9("20052426");
		Sungjuk_5_9 sooeun_jang2 = new Sungjuk_5_9("20052426","sooeun,jang");
		Sungjuk_5_9 sooeun_jang3 = new Sungjuk_5_9("20052423","dsadad");
		
		Sungjuk_5_3.title();
		System.out.println(sooeun_jang.hakbun + " " +sooeun_jang.name + " "
				+ sooeun_jang.jumsu +" " + sooeun_jang.c_cnt);
		System.out.println(sooeun_jang1.hakbun + " " +sooeun_jang1.name + " "
				+ sooeun_jang1.jumsu +" " + sooeun_jang1.c_cnt);
		System.out.println(sooeun_jang2.hakbun + " " +sooeun_jang2.name + " "
				+ sooeun_jang2.jumsu +" " + sooeun_jang2.c_cnt);
		System.out.println(sooeun_jang3.hakbun + " " +sooeun_jang3.name + " "
				+ sooeun_jang3.jumsu +" " + sooeun_jang3.c_cnt);
		
		System.out.println("만들어진 객체 수 : " + Sungjuk_5_9.class_cnt);
		
	}
	
}